New commands to show/hide outlines by regexp (bug#49731)
authorJuri Linkov <juri@linkov.net>
Mon, 3 Jun 2024 17:18:46 +0000 (20:18 +0300)
committerJuri Linkov <juri@linkov.net>
Mon, 3 Jun 2024 17:18:46 +0000 (20:18 +0300)
commit4395f4d4530db77156b20209c1a81dce22c6e62d
tree9eec064b00332a38f449f517750ad0d0dadbf1a2
parenta525cfb3af0c49c5c64e8af548ab23d086348fed
New commands to show/hide outlines by regexp (bug#49731)

* lisp/outline.el (outline-mode-prefix-map): Bind "/ s" to
'outline-show-by-heading-regexp', and "/ h" to
'outline-hide-by-heading-regexp'.
(outline-show-by-heading-regexp)
(outline-hide-by-heading-regexp): New commands.
(outline-hidden-headings-regexp): New helper function.
etc/NEWS
lisp/outline.el